package com.tjakus.hibernate;

import java.sql.Timestamp;

public class Advertisement {

	/**
	 * 
	 * This class represents advertisement with following: id, serviceId ,title,
	 * url, description, date, position, time stamp and price stored in database
	 * 
	 * @author tjakus
	 * 
	 */

	private Timestamp timestamp;
	private int serviceId;
	private String title;
	private String url;
	private String description;
	private String price;
	private String date;

	public int getServiceId() {
		return serviceId;
	}

	public void setServiceId(int newServiceId) {
		this.serviceId = newServiceId;
	}

	public Timestamp getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Timestamp newTimestamp) {
		this.timestamp = newTimestamp;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String newTitle) {
		this.title = newTitle;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String newUrl) {
		this.url = newUrl;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String newDescription) {
		this.description = newDescription;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String newDate) {
		this.date = newDate;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String newPrice) {
		this.price = newPrice;
	}
}
